@charset "utf-8";

/* CSS Document */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

*,
body {
    padding: 0px;
    margin: 0px;
    font-family: "微软雅黑";
}

body {
    color: #fff;
    font-size: 16px;
    background: #033c76 url(../img/bg.png) no-repeat;
    background-size: 100% 100%;
}

@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF)
}

html,
body {
    min-height: 100%;
}

li {
    list-style-type: none;
}

table {}

i {
    margin: 0px;
    padding: 0px;
    text-indent: 0px;
}

img {
    border: none;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #fff;
}

a.active,
a:focus {
    outline: none !important;
    text-decoration: none;
}

ol,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0
}

a:hover {
    color: #06c;
    text-decoration: none !important
}

.clearfix:after,
.clearfix:before {
    display: table;
    content: " "
}

.clearfix:after {
    clear: both
}

.pulll_left {
    float: left;
}

.pulll_right {
    float: right;
}

i {
    font-style: normal;
}

.text-w {
    color: #ffe400
}

.text-d {
    color: #ff6316
}

.text-s {
    color: #14e144
}

.text-b {
    color: #07e5ff
}

.head {
    position: relative;
    height: 90px;
    margin: 0 15px;
    padding-right: 60px;
}

.head h1 {
    font-size: 30px;
    letter-spacing: -2px;
    text-align: center;
    line-height: 90px;
    padding-right: 55px;
    color: #daf9ff;
}

.head .menu {}

.head .menu ul {
    font-size: 0;
}

.head .menu li {
    display: inline-block;
    position: relative;
    margin: 30px 15px;
    ;
}

.head .menu li a {
    display: block;
    font-size: 18px;
    color: #fff;
    line-height: 30px;
    padding: 0 10px;
}

.head .time {
    position: absolute;
    right: 0;
    line-height: 90px;
    top: 0;
}

.menu li:before,
.menu li:after {
    position: absolute;
    width: 10px;
    height: 5px;
    opacity: .4;
    content: "";
    border-top: 2px solid #02a6b5;
    top: -1px;
    border-radius: 2px;
}

.menu li:before,
.menu li a:before {
    border-left: 2px solid #02a6b5;
    left: -1px;
}

.menu li:after,
.menu li a:after {
    border-right: 2px solid #02a6b5;
    right: -1px;
}

.menu li a {
    position: relative;
}

.menu li a:before,
.menu li a:after {
    position: absolute;
    width: 10px;
    height: 5px;
    opacity: .4;
    content: "";
    border-bottom: 2px solid #02a6b5;
    bottom: -1px;
    border-radius: 2px;
}

.head .menu li a:hover {
    color: #f4e925;
}

.menu li a:hover:before,
.menu li a:hover:after,
.menu li:hover:before,
.menu li:hover:after {
    border-color: #f4e925;
    opacity: 1;
}

.mainbox {
    padding: 0px 10px;
}

.nav1 {
    margin-left: -6px;
    margin-right: -6px;
}

.nav1>li {
    padding: 0 6px;
    float: left;
}

.box {
    border: 1px solid rgba(7, 118, 181, .5);
    box-shadow: inset 0 0 10px rgba(7, 118, 181, .4);
    margin-bottom: 12px;
    position: relative;
}

.tit {
    padding: 10px 10px 10px 25px;
    border-bottom: 1px solid rgba(7, 118, 181, .7);
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.tit:before,
.tit01:before {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    background: rgba(22, 214, 255, .9);
    box-shadow: 0 0 5px rgba(22, 214, 255, .9);
    border-radius: 10px;
    left: 10px;
    top: 18px;
}

.tit:after,
.box:before {
    width: 100%;
    height: 1px;
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    background: linear-gradient(to right, #076ead, #4ba6e0, #076ead);
    box-shadow: 0 0 5px rgba(131, 189, 227, 1);
    opacity: .6
}

.box:before {
    top: -1px;
}

.boxnav {
    padding: 10px;
}

.tit01 {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.tit01:before {
    left: 3px;
    top: 8px;
}

.mapc {
    background: url(../img/bg3.png) no-repeat center center;
    background-size: 100% 100%
}

.map {
    position: relative;
    height: 100%;
}

.map img {}

.mapnav {
    position: absolute;
    z-index: 10;
}


.yqlist li {
    float: left;
    width: 33.33%;
    /* 改为3列布局 */
    padding: 10px 0;
    text-align: center;
    box-sizing: border-box;
}

.yq {
    width: 80px;
    /* 减小尺寸以适应更多项目 */
    height: 80px;
    /* 减小尺寸以适应更多项目 */
    margin: 0 auto 5px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    /* 减小字体大小 */
    font-family: electronicFont;
    color: #fff32b;
}

.yqlist li span {
    opacity: .6;
    font-size: 12px;
    /* 减小字体大小 */
    display: block;
    padding: 0 5px;
}

/* 保持原有的动画效果 */
.yq:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: url(../img/img1.png) center center;
    border-radius: 100px;
    background-size: 100% 100%;
    opacity: .3;
    left: 0;
    top: 0;
    animation: myfirst2 15s infinite linear;
}

.yq:after {
    position: absolute;
    width: 86%;
    background: url(../img/img2.png) center center;
    border-radius: 100px;
    background-size: 100% 100%;
    opacity: .3;
    height: 86%;
    content: "";
    left: 7%;
    top: 7%;
    animation: myfirst 15s infinite linear;
}

@keyframes myfirst {
    to {
        transform: rotate(-360deg)
    }
}

@keyframes myfirst2 {
    to {
        transform: rotate(360deg)
    }
}

/* 圆形布局容器 */
.circular-layout {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

/* 中心项目 - 大肠杆菌 */
.center-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

/* 圆形排列的项目 */
.circular-item {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transition: all 0.3s ease;
    --radius: 120px;
    /* 圆形半径 */
}

/* 使用预计算的值替代三角函数 */
.circular-item:nth-child(2) {
    transform: translate(calc(-50% + 120px), calc(-50% + 0px));
}

.circular-item:nth-child(3) {
    transform: translate(calc(-50% + 60px), calc(-50% + 103.92px));
}

.circular-item:nth-child(4) {
    transform: translate(calc(-50% + -60px), calc(-50% + 103.92px));
}

.circular-item:nth-child(5) {
    transform: translate(calc(-50% + -120px), calc(-50% + 0px));
}

.circular-item:nth-child(6) {
    transform: translate(calc(-50% + -60px), calc(-50% + -103.92px));
}

.circular-item:nth-child(7) {
    transform: translate(calc(-50% + 60px), calc(-50% + -103.92px));
}

/* 调整yq样式以适应新布局 */
.circular-layout .yq {
    width: 60px;
    height: 60px;
    margin: 0 auto 5px;
    font-size: 20px;
}

/* 调整中心项目的yq样式 */
.center-item .yq {
    width: 80px;
    height: 80px;
    font-size: 24px;
}

/* 调整文字大小 */
.circular-layout span {
    font-size: 12px;
    opacity: 0.8;
}

/* 添加动画效果 */
.circular-item:hover {
    z-index: 20;
    transform:
        translate(calc(-50% + var(--radius) * 1.1 * cos(var(--angle))),
            calc(-50% + var(--radius) * 1.1 * sin(var(--angle))));
}

/* 警报弹窗样式 */
.alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.alert-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90%;
    background: linear-gradient(135deg, #1a2d4d 0%, #0e1a30 100%);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.alert-header {
    padding: 20px;
    background: rgba(253, 102, 95, 0.2);
    border-bottom: 1px solid rgba(253, 102, 95, 0.3);
    text-align: center;
    position: relative;
}

.alert-header h3 {
    margin: 0;
    color: #ff6b6b;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.alert-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.alert-close:hover {
    color: #fd665f;
    transform: scale(1.2);
}

.alert-body {
    padding: 25px;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
}

.alert-detail-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.alert-detail-label {
    flex: 0 0 120px;
    color: #37a2da;
    font-weight: 500;
}

.alert-detail-value {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid #37a2da;
}

.alert-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(253, 102, 95, 0.2);
    color: #fd665f;
    font-size: 14px;
    margin-left: 10px;
}

.alert-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-button {
    padding: 10px 30px;
    background: linear-gradient(to right, #37a2da, #32c5e9);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(55, 162, 218, 0.3);
}

.alert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 162, 218, 0.4);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}